/**
 * Category list page generator
 */
module.exports = function (hexo) {
    hexo.extend.generator.register('photos', function (locals) {
        return {
            path: 'photos/',
            layout: ['photos'],
            data: Object.assign({}, locals, {
                __photos: true
            })
        };
    });
}